/*

4. Write a small program that declares an integer and a pointer to integer. Assign the address of the integer to the pointer. Use the pointer to set a value in the integer variable.
*/

#include <iostream.h>

int main() {
	int yourAge = 20;
	int * PyourAge = &yourAge;
	cout << "yourAge: " << yourAge << endl;
	*PyourAge = 50;
	cout << "yourAge: " << yourAge << endl;
	return 0;
}
